package com.etc.entity;


import sun.misc.Contended;

/**
 * (GiftRecord)实体类
 *
 * @author makejava
 * @since 2021-10-24 00:05:36
 */
@Contended
public class GiftRecord {
    
    
    private String giftRecordId;
    
    private Gift gift;
    
    private User user;


    public String getGiftRecordId() {
        return giftRecordId;
    }

    public void setGiftRecordId(String giftRecordId) {
        this.giftRecordId = giftRecordId;
    }


    public Gift getGift() {
        return gift;
    }

    public void setGift(Gift gift) {
        this.gift = gift;
    }


    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }


    @Override
    public String toString() {
        return "GiftRecord {" +
                "giftRecordId=" + giftRecordId +","+
                "gift=" + gift +","+
                "user=" + user +
                "}";
    }
    public GiftRecord() {
        
    }
    public GiftRecord(String giftRecordId, Gift gift, User user) {
        this.giftRecordId = giftRecordId;
        this.gift = gift;
        this.user = user;
               
    }
}

